<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE html>
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/loong.css">
</head>
<body class="body" >
	
	<%@ include file="include/top.jsp" %>
	
	<!-- 头结束 -->
	<div class="container inner">
	  <div class="row">
		<div class="span4">
			<div class="page-header" style="margin-bottom:25px;padding-bottom:30px;margin-left:10px;">
          		<h2 >项目列表</h2>
				<a href="project.jspx" class="btn btn-inverse pull-right"><i class="icon-plus icon-white" style=""></i>开始一个新项目</a>
          	</div>
			<div class="span3 bs-docs-sidebar">
				<ul class="nav nav-list bs-docs-sidenav">
				  <c:choose>
				  	<c:when test="${not empty requestScope.list}">
				  		<c:forEach var="item" items="${requestScope.list}">
					  		<li class="list"><a href="/mainproject.jspx?id=${item.id }"><i class="icon-chevron-right"></i> ${item.name }</a></li>
					  	</c:forEach>
				  	</c:when>
				  	<c:otherwise>
				  		<li class="list">你没有参与任何项目</li>
				  	</c:otherwise>
				  </c:choose>
				  	
				</ul>
			</div>

		</div>
		<div class="span8" >
          
          	<div class="page-header"  >
          		<h2>项目详情</h2>
          	</div>
			<c:forEach var="item" items="${requestScope.list }">
				 <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
					<li class="active">
						<a href="/mainproject.jspx?id=${item.id }"><i class="icon-th"></i>${item.name }</a>
					</li>
				</ul>
				<div class="wall">
					<p>${item.desc}</p>
				</div>
			</c:forEach>
        
		</div>
		
	  </div>
	  <!-- 尾开始  -->
	  <%@ include file="include/foot.jsp" %>
	</div>

</body>
</html>